package com.xiaoshuidi.cloud.module.member.controller.app.point.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分商城积分记录
 */
@Data
public class MallPointRecord implements Serializable {
    private static final long serialVersionUID = 6531486268067768511L;

    @Schema(description = "租客id")
    private Long tenantUserId;

    @Schema(description = "积分流水号")
    private String recordNo;

    @Schema(description = "增减项，0减项，1增项")
    private Integer changeValueType;

    @Schema(description = "变动前积分")
    private Long beforeChangePoints;

    @Schema(description = "变动后积分")
    private Long afterChangePoints;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "积分变动时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
